package com.csnf.service.impl;

import csnf.com.entity.*;
import com.csnf.mapper.MerchantMapper;
import com.csnf.service.MerchantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MerchantServiceImpl implements MerchantService {
    @Autowired
    MerchantMapper merchantMapper;
    @Override
    public int merchantLogin(Merchant merchant){

        return merchantMapper.merchantLogin(merchant);
    }
    @Override
    public int merchantRegister(Merchant merchant){
        return merchantMapper.merchantRegister(merchant);
    }
}
